<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>js 学习 ---运算符---</title>
</head>
<body>

 <script type="text/javascript">
 	
 	var arr=new Array('java','php','android');
 	for (var i = arr.length - 1; i >= 0; i--) {
 		document.write(arr[i]+'---');
 	}

    document.write("<br/>");
 	for (var i = 1; i < 10; i++) {
 		for (var j = 1; j <= i; j++) {
 			var g=i+j;
 			document.write(i+"+"+j+"="+g+"\t");
 		}

 		document.write("<br/>");
 	}

    
    var mun=90;

     switch(mun/10){
     	case 9:
     	       document.write('继续努力！');
     	       break;
     	case 8:
     	       document.write('成绩一般！');
     	       break;
     	default:
     	       document.write('差评');
     	       break;       
     }


     // == != || && === 

 </script>
	

</body>
</html>